package com.qcby.front.controller;


import com.qcby.framwork.utils.ResponseResult;
import com.qcby.front.service.SgLinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 友链 前端控制器
 * </p>
 *
 * @author admin
 * @since 2024-09-21
 */
@RestController
@RequestMapping("/link")
public class SgLinkController {
    @Autowired
    private SgLinkService linkService;
    @GetMapping("/getAllLink")
    public ResponseResult getAllLink(){
        return linkService.getAllLink();
    }
}

